#5A8240
Color Details
HEX
#5A8240
RGB
rgb(90, 130, 64)
HSL
hsl(96, 34%, 38%)
CMYK
cmyk(31%, 0%, 51%, 49%)
Best text on this color
#000000 (CR 4.70:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #5A8240
#5A8240 converts to RGB(90, 130, 64) and HSL(96, 34%, 38%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.
Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).
#5A8240 FAQs
What is the RGB value of #5A8240?
RGB: 90, 130, 64. Copy as CSS:
rgb(90, 130, 64)
Is #5A8240 a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #5A8240?
Complement: #674082.
Does #5A8240 have good contrast on white or black?
On white: 4.47:1 (AA (large text)).
On black: 4.70:1 (AA (normal text)).